import request from '@/utils/request'

// 物料汇总统计查询
export function getMaterialSummary(query) {
  return request({
    url: '/pack/material/summary',
    method: 'get',
    params: query
  })
}

// 获取物料汇总详情列表
export function getMaterialSummaryDetail(query) {
  return request({
    url: '/pack/material/summary/detail',
    method: 'get',
    params: query
  })
}

// 导出物料汇总统计数据
export function exportMaterialSummary(query) {
  return request({
    url: '/pack/material/summary/export',
    method: 'post',
    data: query
  })
}
